package coms.dataaccess;

import java.util.List;

import coms.datatransfer.ConferenceDTO;
import coms.datatransfer.ConferenceItemDTO;
import coms.datatransfer.FileItemDTO;
import coms.exception.RegistrationDateExpiredException;

public interface ConferenceDAO {

	public Integer insertConference(ConferenceDTO conference);
	
	public void updateConference(ConferenceDTO conference);
	
	public List<Object[]> findRegisteredConferenceItems(int uID);
	
	public void deleteConference(int conferenceID);

	public void insertConferenceItem(ConferenceItemDTO conferenceItem, int conferenceID);
	
	public void updateConferenceItem(ConferenceItemDTO conferenceItem);
	
	public void deleteConferenceItem(int conferenceItemID);
	
	public void insertFileItem(FileItemDTO fileItem);
	
	//public void insertConferenceItem(String conferenceID);
	public void changeStatus(int cID, int uID);
	
	public void insertFileItem(String conferenceItemID);
	
	public ConferenceDTO findConferenceByID(String conferenceID);
	
	public ConferenceItemDTO findConferenceItemByID(int conferenceItemID);
	
	public FileItemDTO findFileItemByID(String fileItemID);

	public ConferenceDTO findConferenceByID(int conferenceID);
	
	
	public List<ConferenceDTO> findAllConferences();

	public void registerParticipant(int conferenceItemID, int userID) throws RegistrationDateExpiredException;

}
